package com.yumingjaing.listener;// UserQuerySuccessEvent.java
import com.yumingjaing.cache.User;
import org.springframework.context.ApplicationEvent;

public class QueryUserSuccessEvent extends ApplicationEvent {
    private User user;

    public QueryUserSuccessEvent(Object source, User user) {
        super(source);
        this.user = user;
    }

    public User getUser() {
        return user;
    }
}